var initialState = {
    update:0
  };
  
  function update(state = initialState, action) {
    switch (action.type) {
      case "GETLISTS":
        return Object.assign({},state,{lists: action.data})
      case "INCREASE":
        return Object.assign({}, state, { count: state.count + 1 });
      default:
        return state;
    }
  }
  
  export default update;
  